    //
//  SecondViewController.m
//  AnalyticsSample
//
//  Copyright 2010 Google Inc. All rights reserved.
//

#import "SecondViewController.h"


@implementation SecondViewController

@synthesize saleConfirmation;

/*
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad {
    [super viewDidLoad];
}
*/

- (void)didReceiveMemoryWarning {
    // Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];

    // Release any cached data, images, etc. that aren't in use.
}

- (void)viewDidUnload {
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}

#pragma mark -
#pragma mark ClickActions

- (IBAction)buyDandyHat:(id)sender {
  [self.saleConfirmation setText:@"My, that's a dandy hat!"];
}

- (IBAction)buyDapperHat:(id)sender {
  [self.saleConfirmation setText:@"Wow, someone looks dapper!"];
}

- (IBAction)buyWizardHat:(id)sender {
  [self.saleConfirmation setText:@"Accio hat!"];
}

- (void)dealloc {
  self.saleConfirmation = nil;
  [super dealloc];
}


@end
